from random import random

list = [item for item in range(1,11)]
print(list)

list01 = [item*item for item in range(1,11)]
print(list01)

# list02 = [random.ranint(1 , 100) for _ in range(10)]
# print(list02)

# 从列表中删选出符合条件的元素，组成新的列表
list03 = [i for i in range(10) if i%2==0]
print(list03)